import request from "../config/request";

export function getRedisGoods () {
  return request({
    url: "/shopping/seller/order/getRedisGoods",
    method: "get",
  });
}
export function getTokenMessage () {
  return request({
    url: "/shopping/seller/order/getTokenMessage",
    method: "get",
  });
}

export function delArray (data) {
  return request({
    url: "/shopping/seller/order/delArray",
    method: "post",
    data: data,
  });
}
export function alterNum (data) {
  return request({
    url: "/shopping/seller/order/alterNum",
    method: "post",
    data: data,
  });
}
export function getGeoDistance (data) {
  return request({
    url: "/shopping/seller/order/getGeoDistance",
    method: "post",
    data: data,
  });
}
export function addOrder (data) {
  return request({
    url: "/shopping/seller/order/addOrder",
    method: "post",
    data: data,
  });
}
export function payOrder (data) {
  return request({
    url: "/shopping/seller/order/payOrder",
    method: "post",
    data: data,
  });
}
export function payPass (data) {
  return request({
    url: "/shopping/seller/order/password",
    method: "post",
    data: data,
  });
}
export function alterNums (data) {
  return request({
    url: "/shopping/seller/order/alterNums",
    method: "post",
    data: data,
  });
}
